<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="renderer" content="webkit|ie-comp|ie-stand" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=640,user-scalable=false" />
    <title>泛兰士手机版</title>
    <link href="/mobile/css/style.css" rel="stylesheet" type="text/css" /><!--通用样式-->
    <link href="/mobile/css/toastr.min.css" rel="stylesheet" type="text/css" /><!--toastr-->
    <link rel="stylesheet" href="/mobile/css/reveal.css">	<!--登录样式-->

    <style>

    </style>

</head>

<body>
<div class="fls_bg">
    <div class="fls_top">
        <a href="{{ route('index') }}"><img src="/mobile/images/topimg_03.png" class="logo"/></a>
        <a href="{{ route('index') }}"><img src="/mobile/images/topimg_06.png" class="fangzi"/></a>
    </div>
    <div class="title_box"><p>欢迎登录</p></div>


    <form  action="{{ route('user.auth') }}" method="post">
        {!! csrf_field() !!}

        <div class="modalbox">
        <span><img src="/mobile/images/dliconpic_03.png" width="50" height="50"></span>
        <input placeholder="手机号" name="mobile" value="{{ old('mobile') }}">
    </div>
    {{--<p class="denglu_p">请提交正确的手机号码（由11位数字组成）</p>--}}
    <div class="modalbox">
        <span><img src="/mobile/images/dliconpic_06.png" width="50" height="50"></span>
        <input placeholder="密码" name="password">
    </div>
    {{--<p class="denglu_p">密码错误</p>--}}
    <button class="modalbtn">确认</button>
    <div class="modalzi">
        <p>还没有帐号？<a href="{{ route('user.create') }}">免费注册</a></p>
        <a href="#">忘记密码？</a>
    </div>
    </form>


</div><!--fls_bg-->
</body>
<script src="/mobile/js/jquery.js" ></script>
<script src="/mobile/js/toastr.min.js" ></script>

@if(session('success'))
<script>
    toastr.success("{{ session('success') }}");
</script>
@endif

@if(session('error'))
    <script>
        toastr.error("{{ session('error') }}");
    </script>
@endif

@if(!empty($errors->first()))
    <script>
        window.alert('{{ $errors->first() }}');
    </script>
@endif

</html>
